package cbfz;
import javax.swing.*;
import java.awt.event.*;
import java.sql.*;
public class Sqlexecute {
	Sqlexecute(){
		JFrame f =new JFrame();
		JTextField txtsql= new JTextField(100);
		JButton btnOK=new JButton();
		f.add(txtsql);
		f.add(btnOK);
		f.setVisible(true);
		btnOK.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent e) {
				Connection co=DBC.getConnection("what");
				if(co!=null){
				
				}		
			}
			
		});
	}
	public static void main(String[] args) {
		new Sqlexecute();

	}

}
